projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2fdb1
)
Unbreak the MinGW build
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 16 Dec 2016 10:50:06 +0000
(12:50 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 16 Dec 2016 10:50:06 +0000
(12:50 +0200)
* lib/stdio-impl.h [__MINGW32__]: Don't include errno.h. Without
this, temacs crashes while dumping.
lib/stdio-impl.h
patch
|
blob
|
history
diff --git
a/lib/stdio-impl.h
b/lib/stdio-impl.h
index 766d6936590f72bca14f5f7c413818a087fdf940..1972a33ab13ab894913317603f430b5d8ec2bbec 100644
(file)
--- a/
lib/stdio-impl.h
+++ b/
lib/stdio-impl.h
@@
-26,7
+26,9
@@
# include <sys/param.h>
#endif
+#ifndef __MINGW32__
#include <errno.h> /* For detecting Plan9. */
+#endif
#if defined __sferror || defined __DragonFly__ || defined __ANDROID__
/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */